//
//  AppSetting.h
//  OrderSeat
//
//  Created by haiming on 13-10-4.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@interface AppSetting : NSObject

+(void)setFirstLaunching:(BOOL)isFirst;
+(BOOL)isFirstLaunching;

+ (void)setDataVersion:(int)version;
+ (int)dataVersion;

+ (void)setIsOpenNotification:(BOOL)isOpen;
+ (BOOL)isOpenNotification;

+ (void)setIsUpdatePhoto:(BOOL)isUpdate;
+ (BOOL)isUpdatePhoto;

+ (void)setUserName:(NSString *)username;
+ (NSString *)userName;

+ (void)setUserPhoto:(NSString *)photo;
+ (NSString *)userPhoto;

+ (void)setTel:(NSString *)tel;
+ (NSString *)tel;

+ (void)setNickName:(NSString *)nickname;
+ (NSString *)nickName;

+ (void)setIsLogin:(BOOL)isLogin;
+ (BOOL)isLogin;
+ (void)loginOut;

+ (void)setLocation:(CLLocation *)location;
+ (NSString *)latitude;
+ (NSString *)longitude;

+ (void)setClearLikeDate;
+ (NSString *)clearLikeDate;

+ (NSString *)cityId;
+ (void)setCityId:(NSString *)cityId;

+ (void)setCityName:(NSString *)cityName;
+ (NSString *)cityName;

+ (id)objectForKey:(NSString *)key;
+ (void)setObject:(id)object forKey:(NSString*)key;

+ (NSString *)documentDirectory;
+ (NSString *)filePath:(NSString*)filename;

+ (NSString*)deviceString;

@end
